package com.world.business.tenbatsu.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.world.business.tenbatsu.domain.Tenbatsu;
import com.world.business.tenbatsu.domain.query.TenbatsuPageRequest;
import com.world.business.tenbatsu.domain.vo.TenbatsuVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 天谴 Mapper 接口
 * </p>
 *
 * @author 邓驴
 * @since 2023-07-31
 */
@Mapper
public interface TenbatsuMapper extends BaseMapper<Tenbatsu> {

    /**
     * 分页查询
     *
     * @param page     分页
     * @param request 查询条件
     * @return {@link IPage<TenbatsuVO>}
     * @author WangYX
     * @date 2023/09/04 16:40
     */
    IPage<TenbatsuVO> getPage(IPage<Tenbatsu> page, @Param("request") TenbatsuPageRequest request);

}
